package lagouhomework;


public class message {
private int num;
private String name;
private int age;

public void message(int num,String name,int age){
    this.num=num;
    this.name=name;
    this.age=age;
}
    public void setNum(int num ){
        this.num=num;
    }
    public int getNum(){
        return num;
    }
    public void setName(String name ){
        this.name=name;
    }
    public String getName(){
        return name;
    }
    public void setAge(int age ){
        this.age=age;
    }
    public int getAge(){
        return age;
    }
}
